package com.zhentao.controller;

import com.zhentao.mapper.BusinessUserMapper;
import com.zhentao.model.common.business.dto.BusinessUserDto;
import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.service.BusinessUserService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/user")
public class BusinessUserController {
    @Resource
    private BusinessUserService businessUserService;

    /**
     * 商家账号信息列表
     */
    @GetMapping("/selShopUser")
    @ApiOperation("商家账号信息列表")
    public ResponseResult selBusinessUser(BusinessUserDto businessUserDto){
        return businessUserService.selBusinessUser(businessUserDto);
    }
}
